$(document).ready(function () {

var root = location.protocol + '//' + location.host;
    //initiate the plugin and pass the id of the div containing gallery images
$("#zoom").elevateZoom({
  //zoomWindowPosition: 3,
    responsive: true,
    scrollZoom: true,
    gallery:'galeria', 
    cursor: 'crosshair',  //'pointer',
    galleryActiveClass: 'active', 
    imageCrossfade: true,
    zoomWindowFadeIn: 500,
    zoomWindowFadeOut: 500,
    //lensFadeIn: 500,
    //lensFadeOut: 500,
    zoomWindowWidth:400,
    zoomWindowHeight:400,
    //zoomWindowPosition: 16,
    zoomWindowOffetx: 15,
    //tint: true,
    //tintColour:'#F90',
    //tintOpacity:0.5,
    loadingIcon: root+'/web/img/spinner.gif'
}); 

//inicializacion del plugin microfiche para el carrusel
$('#galeria').microfiche({
    buttons: true,
    bullets: false
});


});//Fin del script